package com.ruoyi.project.system.setting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 基本参数设置对象 tb_param_setting
 * 
 * @author kangjie
 * @date 2019-12-28
 */
public class TbParamSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "序号")
    private String id;

    /**
     * 起始角度
     */
    @Excel(name = "起始角度",cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal startAngle;

    /**
     * 终止角度
     */
    @Excel(name = "终止角度",cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal endAngle;

    /**
     * 旋转速度
     */
    @Excel(name="旋转角度",cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal speed;

    /**
     * 最高点坐标数量
     */
    @Excel(name="最高点坐标数量",cellType = Excel.ColumnType.NUMERIC)
    private int hCoordinateCount;

    /**
     * 标识：0,数据未使用；1,数据已使用
     */
    @Excel(name = "数据状态", readConverterExp = "0=正常,1=停用")
    private int flag;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getStartAngle() {
        return startAngle;
    }

    public void setStartAngle(BigDecimal startAngle) {
        this.startAngle = startAngle;
    }

    public BigDecimal getEndAngle() {
        return endAngle;
    }

    public void setEndAngle(BigDecimal endAngle) {
        this.endAngle = endAngle;
    }

    public BigDecimal getSpeed() {
        return speed;
    }

    public void setSpeed(BigDecimal speed) {
        this.speed = speed;
    }

    public int gethCoordinateCount() {
        return hCoordinateCount;
    }

    public void sethCoordinateCount(int hCoordinateCount) {
        this.hCoordinateCount = hCoordinateCount;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "TbParamSetting{" +
                "id='" + id + '\'' +
                ", startAngle=" + startAngle +
                ", endAngle=" + endAngle +
                ", speed=" + speed +
                ", hCoordinateCount=" + hCoordinateCount +
                ", flag=" + flag +
                '}';
    }
}
